<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="http://localhost/wasai/hdphp/Template/default/css/header.css"/>
		<link rel="stylesheet" type="text/css" href="http://localhost/wasai/hdphp/Template/default/css/bottom.css"/>
		<script src="http://localhost/wasai/hdphp/Template/default/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<title>哇噻网</title>
	</head>
	<body>
		<!--顶部开始-->
		<div id="top_header_top">
			<div class="top_header">
				<!--登陆注册区-->
				<div class="top_header_left">
					<a href="<?php echo U('Login/index');?>" class="button">登陆</a>
					<a href="<?php echo U('Register/index');?>" class="button">注册</a>
				</div>
				<!--登陆注册区结束-->
				<!--购物车区域-->
				<div class="top_header_right">
					<img src="http://localhost/wasai/hdphp/Template/default/images/buycar.png" alt="" />
					<a href="">购物车<span>0</span>件</a>
				</div>
				<!--购物车区域结束-->
			</div>
		</div>
		<div id="top_header_bottom">
			<div class="top_header">
				<ul class="top_header_left">
					<a href="http://localhost/wasai/hdphp" class="top"><span></span></a>
					<?php foreach ($cate as $k=>$v){?>
					<li><a href="<?php echo U('Category/index',array('cid'=>$v['cid']));?>"><?php echo $v['cname'];?></a></li>
					<?php }?>
				</ul>
				<div class="top_header_right">
					<a href="">动态</a>
					<a href="">画报</a>
					<form action="" method="post">
						<input type="text" name="" id="" value="请输入要搜索的关键词" class="input"/>
						<a href="" class="search"><span></span></a>
					</form>
				</div>
			</div>	
		</div>
		<a href="http://localhost/wasai/hdphp" id="logo"></a>
		<!--顶部结束-->